Skip to main content
POST
/
action
/
social_performance_analyzer_analyze_performance_action
[SC3] Analyze Social Performance
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/social_performance_analyzer_analyze_performance_action \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "linkedin_url": "<string>",
  "analysis_focus": "full_audit",
  "time_period": "30d",
  "output_variable_name": "performance_analysis",
  "competitor_url": "<string>",
  "brand_voice": "professional_authoritative",
  "industry": "<string>"
}
'
{
  "status": 123,
  "response": {}
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/integrations#api)

Body

application/json
linkedin_url
string
required

Personal profile (linkedin.com/in/...) or company page (linkedin.com/company/...).

analysis_focus
enum<string>
default:full_audit
required
Available options:
full_audit,
whats_working,
what_to_fix,
content_mix,
competitor_comparison
time_period
enum<string>
default:30d
required
Available options:
7d,
30d,
90d
output_variable_name
string
default:performance_analysis
required

Variable name for the result.

Pattern: ^[a-zA-Z][a-zA-Z0-9_]*$
competitor_url
string

Only used when focus is Competitor Comparison.

brand_voice
enum<string>

For voice consistency analysis.

Available options:
professional_authoritative,
conversational_relatable,
bold_opinionated,
warm_supportive,
witty_playful,
educational_helpful
industry
string

For industry-specific benchmarks (e.g. SaaS, Professional Services, Finance).

Response

Successful response

status
integer<int32>

HTTP status code of the action response

response
object

Response data from the action